package top.lidee.common.service.twice.management.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import top.lidee.common.service.twice.management.TpbWechatBankAccountService;
import top.lidee.framework.result.PageUtils;
import top.lidee.module.backendApi.twice.page.Query;
import top.lidee.repository.mapper.twice.management.TpbWechatBankAccountMapper;
import top.lidee.repository.model.twice.pojo.management.TpbWechatBankAccountEntity;


@Service("tpbWechatBankAccountService")
public class TpbWechatBankAccountServiceImpl extends ServiceImpl<TpbWechatBankAccountMapper, TpbWechatBankAccountEntity> implements TpbWechatBankAccountService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TpbWechatBankAccountEntity> page = this.page(
                new Query<TpbWechatBankAccountEntity>().getPage(params),
                new QueryWrapper<TpbWechatBankAccountEntity>()
        );

        return new PageUtils(page);
    }

}